<extend name='Yg/index' />
<block name='main'>
<div id="page-wrapper" >

            <div class="container-fluid">

                <!-- Page Heading -->
                <div class="row">
                    <div class="col-lg-12">
                        <h2 class="page-header">
                            职位管理
                        </h2>
                        <ol class="breadcrumb">
                            <li class="active">
                                <i class="fa fa-dashboard"></i> 您的位置 => 员工离职
                            </li>
                        </ol>
                    </div>
                </div>

                <!-- /.row -->
                <table class="table table-striped table-bordered table-hover">
			<thead>
				<tr align='left' bgcolor="#D9EDF7">
					<th>ID</th>
					<th>真实姓名</th>
                    <th>员工离职</th>
				</tr>
			</thead>
			<tbody id='ajax1'>
			<volist name="lista" id="vo" >
				<tr>
					<td><{$vo.id}></td>
					<td><{$vo.name}></td>
	
                    <td>
                    <a id="modal-1" href="#modal-container-<{$vo.id}>" role="button" class="btn" data-toggle="modal">离职</a>
            
            <div class="modal fade" id="modal-container-<{$vo.id}>" role="dialog" aria-labelledby="myModalLabel" aria-

hidden="true"> 
                <div class="modal-dialog">
                    <div class="modal-content">
   
                        <div class="modal-body">
                          您确定要解雇该员工吗?!
                        </div>
                        <div class="modal-footer">
                             <button type="button" class="btn" data-dismiss="modal">关闭</button><button type="button" 

class="btn"><a href="<{:U('Boss/fire',array('id'=>$vo['id']))}>">
                            
                             确认</a></button>
                        </div>
                    </div>
                    
                </div>
                
            </div>
					</td>
 
				</tr>
			</volist>
			</tbody>
			
			
		</table>
                <!-- <div class="pagination"><{$page}></div>         -->
            </div>
            <!-- /.container-fluid -->
           
        </div>


        <!-- /#page-wrapper -->
</block>